import request from '@/utils/request'

// 查询每日统计结果列表
export function listDispatchDailyStatisticsResults(query) {
  return request({
    url: '/system/dispatchDailyStatisticsResults/list',
    method: 'get',
    params: query
  })
}

// 查询每日统计结果详细
export function getDispatchDailyStatisticsResults(dailyStatisticsResultsId) {
  return request({
    url: '/system/dispatchDailyStatisticsResults/' + dailyStatisticsResultsId,
    method: 'get'
  })
}

// 新增每日统计结果
export function addDispatchDailyStatisticsResults(data) {
  return request({
    url: '/system/dispatchDailyStatisticsResults',
    method: 'post',
    data: data
  })
}

// 修改每日统计结果
export function updateDispatchDailyStatisticsResults(data) {
  return request({
    url: '/system/dispatchDailyStatisticsResults',
    method: 'put',
    data: data
  })
}

// 删除每日统计结果
export function delDispatchDailyStatisticsResults(dailyStatisticsResultsId) {
  return request({
    url: '/system/dispatchDailyStatisticsResults/' + dailyStatisticsResultsId,
    method: 'delete'
  })
}
